
const Content = (props) => {
    const { allList, text, end } = props
    return <div className='productAll'>
        <div className='wrappernew'>
            {allList.map((item, index) => <div className='subItem' key={index}>
                <div className='image'><img src={item.picUrl} alt="" /></div>
                <div className='subTitle'>{item.disPrdName}</div>
                <div className='submi'>{item.prdBriefName}</div>
                <div className='product'>￥{item.price}</div>

            </div>
            )}
        </div>
        <div className='dixian'>
            {text && !end ? <div className='front'>-加载中-</div> : ''}
        </div>
        <div className='dixian'>
            {end ? <div className='front'>-我是有底线的-</div> : ''}
        </div>
    </div>
}
export default Content

